package com.into.common.csv;

/**
 * Defines methods to translate a {@link Object} object's
 * {@link CSVField} to and from its String equivalent.
 * 
 * @author Zied Hamdi
 * 
 * @param <T>
 *          the type of the field
 */
public interface CSVConverter<T> {

	public T fromString(String value) throws Exception;

	public String toString(T value) throws Exception;
}
